package com.pen.changgou.common.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author YaoDao
 * @version 1.0
 * @Description
 * @date 2020/11/29 23:28
 */
@Data
public class AbstractModel implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableField("id")
    private Long id;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;    /**
     * 修改时间
     */
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic(value = "逻辑删除")
    private String is_delete;

}
